<!DOCTYPE html>
<!--Set the base url in /js/boot.js and /js/boot.ie.js-->
<html lang="en" class="no-js" id="ng-app">
<!--All tags need to hardcode baseURL since main.js is not loaded yet-->
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1">
    <script type="text/javascript" src="/asd/js/head-1.0.3.load.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/skroller/skroller-0.6.22.min.js"></script>

    <!--[if lt IE 9]>
    <script type="text/javascript" src="/asd/js/vendor/4ie/ie9.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/4ie/html5shiv.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/selectivizr/selectivizr-1.0.2.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/4ie/css3-multi-column.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/4ie/flexie.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/4ie/json3.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/skroller/skroller-1.0.2.ie.min.js"></script>
    <script type="text/javascript" src="/asd/js/vendor/4ie/respond.min.js"></script>

    <script type="text/javascript" src="/asd/js/boot.ie.js"></script>
    <![endif]-->
    <!--[if lte IE 8]>
    <script>
        document.createElement('ng-include');
        document.createElement('ng-pluralize');
        document.createElement('ng-view');

        // Optionally these for CSS
        document.createElement('ng:include');
        document.createElement('ng:pluralize');
        document.createElement('ng:view');
    </script>
    <![endif]-->

    <!--[if (gte IE 9) | (!IE)]><!-->
    <script type="text/javascript" src="/asd/js/boot.js"></script>
    <!--<![endif]-->

    <link rel="stylesheet" href="/asd/css/3382/main.css"/>
    <!--[if IE 9 ]>
    <link rel="stylesheet" href="/asd/css/3382/ie/9.css"/> <![endif]-->
    <!--[if IE 8 ]>
    <link rel="stylesheet" href="/asd/css/3382/ie/8.css"/> <![endif]-->
    <!--[if lt IE 7 ]>
    <link rel="stylesheet" href="/asd/css/3382/outdatedIE.css"/> <![endif]-->
    <title>CS3382 Project</title>
</head>

<body ng-controller="SettingController">
<div data-flex-background-src="/asd/img/background.jpg" flex-background></div>
<section id="skrollr-body">
    <header ng-controller="NavigationController" set-to-win-h="0" show-selected-when-hover="{'show': 'nav'}">
        <nav>
            <ul>
                <li ng-repeat="nav in navs" fix-anchor-tag>
                    <section class="item">
                        <section class="wrap"><a href="{{ baseURL }}{{ nav.href }}">{{ nav.title }}</a></section>
                        <section class="background"></section>
                    </section>
                    <section class="nav-list">
                        <ul ng-if="nav.sub.length >0">
                            <li ng-repeat="subNav in nav.sub" fix-anchor-tag>
                                <section class="item">
                                    <section class="wrap">
                                        <a href="{{ baseURL }}{{ nav.href }}{{ subNav.href }}">{{ subNav.title }}</a>
                                    </section>
                                    <section class="background"></section>
                                </section>
                            </li>
                        </ul>
                    </section>
                </li>
            </ul>
        </nav>
    </header>
    <section ng-view class="showExpand" id="mainContent" ng-controller="PageController"></section>
</section>
<footer>
</footer>
<script type="text/javascript">
    if(!(/Android|iPhone|iPad|iPod|BlackBerry|Windows Phone/i).test(navigator.userAgent || navigator.vendor || window.opera)){
        window.skrollrRef = skrollr.init({forceHeight: true, smoothScrolling: true});

    } else {
        window.skrollrRef = skrollr.init().destroy();
    }
</script>

</body>
</html>